package cn.edu.scau.cmi.yangzhengkai.adapter.homework;



public class Student implements Comparable<Student>{
	private int number;
	private String name;
	
	
	
	public Student(int number, String name) {
		this.number = number;
		this.name = name;
	}
	
	public Student() {
		
	}

	@Override
	public int compareTo(Student other){
		return Integer.compare(this.number, other.number);
	}
	
	public int getNumber() {
		return number;
	}
	
	public void setNumber(int number) {
		this.number = number;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
}
